home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / network / ka9q / ka9q_src.arc / MBUF.H < prev    next >
C/C++ Source or Header  |  1988-07-28  |  590b  |  18 lines

  1. /* Basic message buffer structure */
  2. struct mbuf {
  3.     struct mbuf *next;    /* Links mbufs belonging to single packets */
  4.     struct mbuf *anext;    /* Links packets on queues */
  5.     char *data;        /* Active working pointers */
  6.     int16 cnt;
  7. };
  8. #define    NULLBUF    (struct mbuf *)0
  9. #define    NULLBUFP (struct mbuf **)0
  10. void enqueue(),hex_dump(),ascii_dump(),append();
  11. struct mbuf *alloc_mbuf(),*free_mbuf(),*dequeue(),*copy_p(),*free_p(),*qdata();
  12. int16 pullup(),dup_p(),len_mbuf(),dqdata(),len_q();
  13. int32 pull32();
  14. int16 pull16();
  15. char pullchar(),*put16(),*put32();
  16. #define    AUDIT(bp)    audit(bp,__FILE__,__LINE__)
  17.  
  18.